# include <stdio.h>

void displayMainScreen ( int userID ) ;


int main () 
{

  int  authenticated = 0 ;
  int userID = 0 ;
  while ( !authenticated )
  {
/*
Put up login screen

get username and password

authenticate user - lookup username in “database” and compare passwords
* 
* set userID here
*/
  }
  
  int done = 0 ;
  while ( !done ) 
  {
    displayMainScreen ( userID ) ;
/*
Put up main screen (summary of accounts with balances ?)

    Get account information from “database” for this user

Allow user to make choice (deposit/withdraw/change contact info, quit)

case choice 1 (deposit)

    Select account

    Get amount

    dispense cash

case choice 2 (withdrawl)

    Select account

    Get amount

    open deposit door

           accept deposit

case choice 3 (modify contact info)

    Put up modify screen (choices to change e-mail address, something else)

case choice 4 (quit)

    done = true

case default “Invalid Choice”
*/
  }
  return 0 ;
}
